using System.ComponentModel.DataAnnotations;
using SqlSugar;

namespace FytSoa.Domain.Car;

/// <summary>
/// 访问白名单
/// </summary>
[SugarTable("cars_access_whitelist")]
public class CarsAccessWhitelist:Entity
{
    /// <summary>
    /// 手机号码
    /// </summary>
    [Required]
    [StringLength(255)]
    public string Mobile { get; set; }

    /// <summary>
    /// 状态
    /// </summary>
    [Required]
    public bool Status { get; set; } = true;

    /// <summary>
    /// 创建时间
    /// </summary>
    [Required]
    public DateTime CreateTime { get; set; }

    /// <summary>
    /// 创建人
    /// </summary>
    public string CreateUser { get; set; }

    /// <summary>
    /// 修改时间
    /// </summary>
    public DateTime? UpdateTime { get; set; }

    /// <summary>
    /// 修改人
    /// </summary>
    public string UpdateUser { get; set; }


}